home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / tcxl551.arc / TCXL_INC.EXE / lha / INC / TCXLPRN.H < prev    next >
Text File  |  1990-10-01  |  2KB  |  57 lines

  1. /*=====[ The TesSeRact(TM) CXL User Interface Development System ]======*
  2.  | Copyright (c) 1987-1990, Innovative Data Concepts. All Rights Reserved
  3.  |
  4.  | This Library is part of IDC's TesSeRact Development Tools product
  5.  | line. For information about other IDC products, call 1-215-884-3373.
  6.  *----------------------------------------------------------------------*
  7.  | TCXLprn.h: Definitions and prototypes for TCXL printer functions.
  8.  *----------------------------------------------------------------------*
  9.  | PGS : $Id: tcxlprn.h 5.51 90/10/01 00:00:00 MLM Release Locker: MLM $
  10.  | $Log:    tcxlprn.h $
  11.  | Revision 5.51  90/10/01  00:00:00  MLM
  12.  | TCXL 5.51
  13.  | 
  14.  *======================================================================*/
  15. #ifndef  _TCXLprn_
  16. #  define   _TCXLprn_ 1
  17. #  ifndef   _TCXLdef_
  18. #     include  <TCXLdef.h>
  19. #  endif
  20. /*--------[ printer Escape codes for Epson compatible printers ]--------*
  21.  | Example:  lprints(L_BFON"This is bold printing"L_BFOFF);
  22.  */
  23. #define  L_BFOFF     "\033F"     /* turns bold faced printing off  */
  24. #define  L_BFON      "\033E"     /* turns bold faced printing on   */
  25. #define  L_DWOFF     "\033W0"    /* turns double wide printing off */
  26. #define  L_DWON      "\033W1"    /* turns double wide printing on  */
  27. #define  L_ELITE     "\033M"     /* sets printer in 12 CPI mode    */
  28. #define  L_INIT      "\033@"     /* initializes printer            */
  29. #define  L_ITALOFF   "\0335"     /* turns italicized printing off  */
  30. #define  L_ITALON    "\0334"     /* turns italicized printing on   */
  31. #define  L_PICA      "\033P"     /* sets printer in 10 CPI mode    */
  32. #define  L_ULOFF     "\033-0"    /* turns underlined printing off  */
  33. #define  L_ULON      "\033-1"    /* turns underlined printing on   */
  34.  
  35. /*------------------------[ function prototypes ]-----------------------*/
  36.  
  37. #ifdef __cplusplus            /* no mangling, please */
  38.    extern "C" {
  39. #endif
  40. VOID  PAS   _LPputC(IntT ch);
  41. VOID        lcrlf(NOARG);
  42. VOID        lprintc(IntT ch);
  43. VOID  CDC   lprintf(ChrP fs, ...);
  44. VOID  CTYP  lprintn(ChrP ps, IntT nc);
  45. VOID  CTYP  lprintns(ChrP ps, IntT nc);
  46. VOID  CTYP  lprints(ChrP ps);
  47. VOID  CTYP  lprintsb(ChrP ps, IntT nr);
  48. VOID  CTYP  lprintsu(ChrP ps);
  49. VOID  CTYP  scrndump(NOARG);
  50. VOID  CTYP  windump(IntT sr, IntT sc, IntT er, IntT ec);
  51. #define  lcrlf()  lprintc(0x0A)
  52. #define  lprintc(c)  _LPputC(c);
  53. #ifdef __cplusplus
  54.    }
  55. #endif
  56. #endif   /* _TCXLprn -- End of TCXLprn.h */
  57.